package com.parrots.sample.security;

import org.springframework.security.acls.Permission;
import org.springframework.security.acls.sid.Sid;

import com.parrots.sample.entity.SecureObject;

public interface AclSecurityUtil {
    
    @SuppressWarnings("unchecked")
    public void addPermission(SecureObject securedObject, Permission permission, Class clazz);
    
    @SuppressWarnings("unchecked")
    public void addPermission(SecureObject securedObject, Sid recipient, Permission permission, Class clazz);
    
    @SuppressWarnings("unchecked")
    public void deletePermission(SecureObject securedObject, Sid recipient, Permission permission, Class clazz);
}
